<template>
	<view style="padding:0rpx 24rpx">
		<!-- 		<swiper class="swiper" :indicator-dots="indicatorDots" indicator-color="#fff" indicator-active-color="#C9C9C9" :autoplay="autoplay" :interval="interval" :duration="duration"
		 circular="true">
			<swiper-item v-for="(item,index) in list" :key="index">
				<image :src="item.src" mode="aspectFill"></image>
			</swiper-item>
		</swiper> -->

		<image :src="projId==208 ? list[1].src : list[0].src" mode="aspectFill"></image>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				projId: uni.getStorageSync('projId'),
				indicatorDots: true,
				autoplay: true,
				interval: 2000,
				duration: 500,
				list: [{
						src: "../../static/images/newIcon/new/swiper-img.png",
						navigateTo: ''
					},
					{
						src: "../../static/images/tang3.png",
						navigateTo: '/ticketSystem/index/index'
					},
					//{
					// 	src: "../../static/images/banner2.png",
					// 	navigateTo: '/garbage/index/index'
					// },
				]
			}
		},
		methods: {
			resetProj() {
				this.projId = uni.getStorageSync('projId')
				console.log(this.projId)
			}
		}
	}
</script>

<style scoped>
	.swiper {
		width: calc(100vw - 48rpx);
		height: 38.13vw;
	}

	image {
		width: calc(100vw - 48rpx);
		height: 38.13vw;
	}
</style>
